package com.zhaoyd.uaademo.mapper;

import com.zhaoyd.uaademo.core.orm.BaseMapper;
import com.zhaoyd.uaademo.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleMapper extends BaseMapper<SysRole> {
    List<SysRole> listRoleByUser(@Param("userId") Integer userId);
}